# include <stdio.h>
int main ()
{
	int a,b,m1,m2,m3,m4 ;
	scanf("%d",&a);
	m1=a%10;
	m2=a/10%10;
	m3=a/100%10;
	m4=a/1000%10;
	b=m1*1000+m2*100+m3*10+m4;
	printf("%d+%d=%d\n",a,b,a+b);
	return 0 ;
}
